//
//  Spo2Model.h
//  uteped_sdk
//
//  Created by mateng on 2024/2/28.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface Spo2Model : BaseModel

@property(nonatomic, assign) NSInteger time;
@property(nonatomic, assign) NSInteger oxygenValue;

@property(nonatomic, strong) NSString* calendarTime;
@property(nonatomic, strong) NSString* calendar;

- (void)from:(UTEModelMotionFrame*)data frameItem:(UTEModelMotionFrameItem*)frameItem;
/// 如果oxygenValue为0，则是一条垃圾数据不能保存
- (BOOL)validateValue;
@end

NS_ASSUME_NONNULL_END
